package com.example.authsystem.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "系统性能指标")
public class SystemMetricsDto {
    @Schema(description = "CPU使用率", example = "65.5")
    private Double cpuUsage;
    @Schema(description = "内存使用率", example = "72.3")
    private Double memoryUsage;
    @Schema(description = "磁盘使用率", example = "45.8")
    private Double diskUsage;
    @Schema(description = "网络入站流量", example = "1024")
    private Long networkInbound;
    @Schema(description = "网络出站流量", example = "2048")
    private Long networkOutbound;
}